package com.voice.client.message.callback;


import com.voice.client.message.entity.Message;

import java.io.IOException;

public interface MessageCallback {

    MessageCallback.Action consume(Message message);

    public static enum Action {
        CommitSuccess,
        CommitFailure,
        CommitAckManually;

        private Action() {
        }
    }
}
